﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    [Serializable]
    public class HuyiVoiceResponse
    {
        /// <summary>
        /// 返回状态码
        /// </summary>
        [JsonProperty("code"), JsonPropertyName("code")]
        public int Code { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        [JsonProperty("msg"), JsonPropertyName("msg")]
        public string Message { get; set; }

        /// <summary>
        /// 语音id
        /// </summary>
        [JsonProperty("voiceid"), JsonPropertyName("voiceid")]
        public string VoiceId { get; set; }

        /// <summary>
        /// 语音余量
        /// </summary>
        [JsonProperty("num"), JsonPropertyName("num")]
        public int Num { get; set; }

    }
}
